package com.movie.demo.service;

import com.baomidou.mybatisplus.service.IService;
import com.movie.demo.pojo.User;

import java.util.List;

public interface UserService extends IService<User> {
    User login(String userName, String password);

    Boolean register(User user);

    List<User> select();

    boolean updateUser(User user);

    boolean deleteUser(Integer userID);

    List<User> serachuser(String usersearch);
}
